{extend name="admininfo/admininfo" /}
{block name='main'}
<form class="form-horizontal" action="{:url('admin/Banner/add')}" method='post' enctype="multipart/form-data">
    <div class="modal-body">

        <table class="table table-bordered" >
        
            <tr>
                <td>图片</td>
                <td><input type="file" name='image'></td>
            </tr>
            <tr>
                <td>URL</td>
                <td><input type="text"  name='url'></td>
            </tr>
            <tr>
                <td>状态</td>
                <td>
                    <input type="radio" name='status' value='1'>显示
                    <input type="radio" name='status' value='2'>隐藏
                </td>
            </tr>
            <tr>

                <td colspan="2" style="text-align:center">
                    <button class="btn btn-primary adds" type='submit'>
                        添加
                    </button>               
                    
                </td>
            </tr>
    
        </form>        
        </table>
    </div>

{/block}